import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:getx_demo_2/base/base_container.dart';

import 'logic.dart';

class HomePage extends StatelessWidget {
  final logic = Get.put(HomeLogic());
  final state = Get.find<HomeLogic>().state;

  @override
  Widget build(BuildContext context) {
    return BaseContainer(
      children: [Text(logic.exception.value.errorMsg)],
    );
  }
}
